package com.hoshiicloud.user;


import org.bouncycastle.eac.operator.EACSignatureVerifier;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author guangjinwei
 * @create 2019-04-20
 */


@Configuration
@SpringBootApplication(scanBasePackages = {"com.hoshiicloud.user","com.hoshiicloud.common"})
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients
public class HoshiiCloudUserApplication {

   public static void main(String[] args) {
       try{
           SpringApplication.run(HoshiiCloudUserApplication.class, args);
           System.out.println("---------用戶域启动成功-------------");
       }catch (Exception e){
           e.printStackTrace();
       }

    }

}
